package com.campus.service;

import com.campus.common.PageResult;
import com.campus.domain.Dto.ActivityCreateDto;
import com.campus.domain.Dto.ActivitySelectDto;
import com.campus.domain.Dto.ActivityUpdateDto;
import com.campus.domain.Vo.ActivityPageVo;


public interface IActivityService {

    Integer addActivity(ActivityCreateDto activityCreateDto);

    Integer updateActivity(ActivityUpdateDto activityUpdateDto);

    Integer publish(Integer id);

    PageResult<ActivityPageVo> page(ActivitySelectDto activitySelectDto, Integer pageNum, Integer pageSize);
}
